Reset errors a little smarter