Fixed: error when transforming curl method names to local mehtod name