database settings fix