Remove some compile warnings