Corrected some minor syntax errors