Fixing some syntax errors