fix changes api error for disabled database