fix few warmings