[AD] Fixing typo and example mistake