fix: upgrade assert MinLength to Length