make sure headers exist