Fix to main.py