fixed precompile issues