fix the issue for staging precompile