DB settings fix