teacher avail fix