Fixed block issue in modules/gui.py