notification api bug fix