fixes the error with notifier