remote afterInit api