dycoon's modification.
dycoon's modification.
avoid stack extention bug.
remove gem init.