Correct error events