fix compilation warning