discriminator fix