fix bugs in intobject.C/h