fixed flatgui variable