Fix a couple of small typos

Fixes a small typo and copy pasta in a couple of files.