Removed compile warnings