get rid of compile warnings