fix seg fault on Jessica