bug fixing for TaKungPao and WenHuiPao