removing some compile warnings