gui

changed some code issues