fixed notificaitn bug