adding string length range limit.
new range valid