making path correction