fixed multiple cyclus calls with the same db