db setting fix