fix the notification problem