fixed gui.py