Fixed problem in GUI.