fix min instances