fix a bug of HaoShi