commit by SQ for PlanController.cs