fix a notification bug