min validation