fixing display error