fixed segfault issue.