Fix issues with pathfinder helper.