sparkle: fixing minor bugs in notifier