fix issue for restoring IAP