more improvements in datomic-util