removing bad header