diff --git a/js/gateio.js b/js/gateio.js
index <HASH>..<HASH> 100755
--- a/js/gateio.js
+++ b/js/gateio.js
@@ -692,8 +692,7 @@ module.exports = class gateio extends Exchange {
         for (let i = 0; i < response.length; i++) {
             const market = response[i];
             const id = this.safeString2 (market, 'id', 'name');
-            const baseId = id.split ('_')[0];
-            const quoteId = id.split ('_')[1];
+            const [baseId, quoteId] = id.split ('_');
             const base = this.safeCurrencyCode (baseId);
             const quote = this.safeCurrencyCode (quoteId);
             const taker = this.safeNumber2 (market, 'fee', 'taker_fee_rate') / 100;
one split for gateio loadMarkets