fixed the arguments of curl.