Error on refresh time fixed