fixed some typos in reading api