remove superfluous condition