removed duplicate fullcalendar function