fix bug in rate calculations not showing.  boost performance