fix refresh