clean up compilation warnings