fix some python3 errors