cleaning up compile warnings