* fix a bunch of python warnings * fix that old-commit-hash: 111b4eee30d3a8f79d082b78e9158cbe262f1a14