fixing gui, main