fix bug on create a sequence objcet or a spawn object by using new method

fix bug on create a sequence objcet or a spawn object by using new method