Fixed planner errors