fix bugs about http get request