fixed up a few warnings