Fix Lookahead Segmentation Faults