remove unused condition