validate range after select