remove irrelevent sections