merge whitespaces