Fixing small syntax errors