fix db-conn