add handle to autnum query