fix compile warning, but not workable