fixed crash on AttendanceChecker