fixed detection of altid and object handle