updated gui

removed TODO and fixed brackets