change lenght to limit