remove garbage from the gui