cleaned up db config