get rid of extra whitespace