change map to GuiControl