fix a bug that causes crash when Zhijian