fix bug on canlendar having preset period