fix up some warnings so that I can read compile output