fix db test error