clean compilation warnings