fixes bug in notifier