remove redundant content