add attendance id
fix destory