Footer bug fix

Footer would be replaced by total cost at the time of rate calculation.