Fix http request
Fix location conversion