add xscale xcompile