fixed some gui stuff