fixed eventcalendar bug