Fixed  crash with Linas.