fix db cmd