Made resubscription work properly. Fixed properties.