-- fixed a var, where there was previously a function
-- trying tools.tracing to narrow the problem for adi inserts