add db directory
remove a debug setting