db settings fix