fixed layout glitches