get rid of extra spaces