Bug with the gui and stuff