fix discounted price return value.