Fix a couple warnings