Fixed segfault (kind of)