cleaning up GUI