trying to fix planning and executing paths to a goal.