fixed small bug with rates refresh.