minor edit in jerry, found thx to valgrind