Reference path correction