cleans whitespace from left and right