fixed display errors