try to fix curl problems