add block handler for finish iap