Segmentation Fault Error

Fixed segmentation fault error. Maybe...