delete error dir