AddHeader was in the wrong place.