Treatment of the formed web