correct marking error position