try to fix refresh problem