fix compatibility with modulus.io