fix min quantity