trying to avoid caching bug 'invalid encoding'