fix some warnning