fixed createDatePlan