fix error position