fix the average for cross section after filter