Fixed bind arguments in main.py