Fixed notify bug