fix editing attendances