fixed error with new IAPI standard