Fix rjags bridge