fixes typo in api file