Fixes a couple of silly mistakes