set default values for chars and minLenght