fix preCompile exception