fix first syntax errors