Repaired syntax errors