Remove unnecessary whitespace