removed compile warnings