Changed some syntax errors