cleaning the headers