fixed the gui