change to work with crypto-browserify