correct the way that the device or dataset assoc with the ext dataset agent insance is retrieved.