remove irrelevant things