remove irrelevant metadata entries