some minor amendments to display properly the days and period when creating new section.