fix some compile warnings
Fix some compiler warnings