clean up a few warnings