Fix syntax errors in files