fix agree error