Path correction