change the get url func