discount percentage fix