fix #1 : default incorrect maxLength to longest word.