rebuild from setupCustomtheme being called twice.