[#4]: minLength=0 bug fixed