Fixed Extraction syntax errors