mainGui fix