fix few warnings