fix bug that we could not install on OneGet