Fix rename curl method.