correctly handling allDay events