Fixed Python version difference issue