fix db name bug