fixed precompile error for production