mend broken curl command