get rid of dbdir