fixed double discount badge issue