implement detail about will message
fix bug about clean session