fixed crash when no theme name in the theme package