Fixing display errors