fixes in api page, fixing some typos