db conn fix