Fixed crash if subscription is nil