fixed slight syntax errors