fix of mispelling of var infront of discount