fix "allDay" and "end"