fix db settings