minor updates on main_handleer.py