Correct compile warnings