control max len