fix a few remaining issues with python3