remove some stuff from the header