third try of fixing GUI.