fixing GUI