fix compile warning