avoid cache errors when using old cachefile