Removing unnecessary whitespace