fix host env variable in url