minor fixes to import of old themes.