Fixed the segfault issue.