theme preview fix