fix double whitespaces, tabs and trailings