Removed some compilation warnings