clean up a few compiler warnings