fix compiler warning.