Correct error offset