fixed DB config