correcting previously mentionned compilation warnings