Fix createSubscription method