FIX missing input check in CalendarManager
CHANGE CodeFormating