Fix minor syntax errors