error position fix