Update main.py

minor fixes