deal with one erorr at once