fix rates route to use new function versions