a couple typo fixes

Just noticed these while reading.
(whitespace change really doesn't matter but ofc Sublime removes trailing whitespace by default and I don't really like whitespace anyways so I didn't remove it from the commit)