fixed bugs in main.py