Fixed a Planner issue