fix db conf