fix HTML glitch