allow using swap in the emulator