Fixed line number bug in iml