fix jit.py crashes

fixes #101