fixed timer after refresh