fixed events issues in calendar page when employee is nil