fix precompile for first time