fixed db config
cleaned up db config