fix min length count on IE