minor fix to main.py