[Piwi]: bugfix in setDefault method