Fixing one typo and a minor bug.