fix a bug caused by http get