change host to path in refraction method