correct discounting error