Corrected some syntax errors