Minor syntax errors fixed