fixing empty notification bug