fix allDay option