add index to format argument, rate() response is now parsed properly