got rid of compilation warnings