fixed private method mistake in IAPI