few logic updates for dbm package loading