delete extra whitespace