repair small layout glitch