Segmentation fault solved.