fixed couple typos in api reference