fix spelling mistake in api