remove redundant judgments for now