removed a couple warnings