header glitch improved