fixed stupid bugs

The emulator was unfortunately released before it was actually ready.