added message for isRange validagtor