resolved compilation warnings