fix recompile bug