Fixed IAP issues.
Fixed IAP crashed.