attendance statistic fixes