More fixes for python3 (are they fixes ?)