Minor fix "Throw error when vars.zThemeParams is used to instantiate a new theme"