remove extra spaces