cleanup extra whitespace