Fix db settings.