Fix minor refresh problem