modify maxlength to 1000