add max filter to auto pipeline