added check for ripple emulator