whoops, fix a variable name
fix rates route to use new function versions