Fix a couple of minor warnings