fix defects (maybe) for python3... at least the tests skip now