fix curl URL malformed