fix time cache