some more python3 fixes