fix applying new theme