[liuxia] Fix issue reported by Chen Bojian #4