remove whitespace from header tokens