fixing notification bug