try to fix the refresh problem