bugfix - incorrect $OBJID after calc p('PRM',$oid);