Removal of syntax errors