eliminate various compiler warnings