fixed minor syntax errors