minor typo and whitespace fixes