correct typos in typedefs