Fixed heaps of syntax errors