get rid of compilation warnings