curl fixes
[skip ci]