fix compilation warning.