Fixed typo and parsing error