rename maxlength -> maxlength