fixed xpiler bug