Remove compile warnings