fix: make maxlength match backend validation.