MDL-41176 fix obvious bugs and typos in new user API