remove redundant output