possible bug fix for notificationgate