added isNotification to subscribe