Fixed config for db