fix db log