corrected errors

some small syntax errors corrected.