fixed issues with attending failling.