Unwanted spaces removed