removed compilation warnings