resolution du segfault