add msgs notification
fix a bug