Fixed constant refresh problem