fix compiler warn