Revert "found bug in notification code"

This reverts commit f2930a9d4e09e7cc4338884046b8cfba64f64e10.