fix a bug for notification