Fixed a couple of typos found after last refactoring