Save attendance fix