Removes unnecessary whitespace