fixing foodcritic violation FC043

  FC043: Prefer new notification syntax