fixed wrong api method in json