attendance span bugfix