db cleanup dir