Fixing minor syntax errors