fix compile warnings

fix compile warnings