remove some compilation warnings