fix exception page display glitch