recover errors