fix GUI