fixed the notificaiton create and send