take care of a few warnings