maxLength -> maxLines typo