segmentation fault has been fixed