empty cache before initialising a theme