fix db-next