Clean up some syntax errors