removing whitespace from headers