gui bugs fixed