fixed db directory deleted.