added protocol to fix refresh