make sure headers is accurate even if the headers hash has been adjusted (specifically for manipulating csv's and then outputting them)