http get function change