Fixed a couple warnings