fixed notificationsCtrl bug