clean up compile warnings