fixed ios purchase bug