Fix a couple of dumb errors