fixed display issues with gui