Removed some compile warnings