fix another segfault (null pointer)