Correcting pathing