directory db added
fix problems