Fixes a typo and some bad example code.