changing the maxlength validation