fixed GUIManager to work