fixed config for db