Fixed some minor syntax errors