fixed xpiler initialization bug