Fix some compile warning