Fix for the prevent issues for notification manager.