curlwrapper duplicate calls fixed