Web3.js take Avalanche network as Ethereum Mainnet (chain Id 1) when Metamaks connect to Avalanche network (chain Id 43114)
All the rest of chains are recognized by the correct chain id. Web3 return 1 as chain Id when my Metamask chrome and brane navigators plugins connect with Avalanche nework.