Fixed the segfault