Fixed creation bug for Subscription and Transaction