Fixed syntax errors