python3 compile fix