old theme migration fix