Eliminate segfault.