patch for fixing buggy notifications