remove unused rdiscount