Fix a segfault on startup :(