bugfix minLength = 0