JIT demo bugfixes