removing unused sections