fix compile warning.