fixing attendance grid