fix discount rate bug