fixed some fullCalendar options and fixed the event validation