adding maxlength fields