Fixing main.py