fix some compile warnning