catch when min is greater than max