database production settings fix