python3 issues fix