fix compile
fix compile warnings