cleaned up a few warnings