only remove relevant headers