remove gcc warnings