fixed http requests to only happen once per visit