clean some compile warnings