fixes the cache does not updates when settings changed