Fix maxLength on default