removed the compile warnings