bug fix for notification