add workaround for slow as hell emulator. try to still keep thing fast