added error message for isMin validator