changed protocol for useragent dep