added error messages for isDoubleBytes validator