Fixing production settings database