remove checks for headers that aren't used