workaround for web3 to web42 updgrade