correct some spelling, and return a hash