clean up a couple warnings