fix override error position reporting