fix db auth error