Fixed calender element

Fixed Missing vars-warnings.