fix allocator for sakhadb object