remove expected whitespace