Pack graph segfault fixed