bug when init http