solved bug in stopsubscription