change Min.Value to Max.Value