fix callback for IAPIOS