removing a few warnings