fixing bug in libnotify connector