reduce layouts and themes to nil