修复smart-compile