mitigation for errors