fixed a notification bug