fixing display issues