Stupid mistakes

Fixes a few dumb errors I made, like leaving out a parenthesis.