removed a few warnings