Removing syntax errors