fixed db conn