exception handling for planner