fix a bug when have hug data