Try fix segmentation fault