fix misplaced minLength; decrease minLength to 1
fixes #1763
fixes #1762
fixes #1765