fixed bugs caused by absences