fix bug: ++i in idm
v0.2.8 - fixed idm dead while loop in util