Debugging and fixing new Planner.