bug fix in IntField