removing compile warnings