correctly initiazlize idmap tdb when creationg new