modify length