remove redundant metadata