fixing a few xamarin warnings