add maxLength property