remove compile warnings