fix refresh case