fixed the "gui" init param.