fix GuiModel ctor