Fixed typo and whitespace errors