fix for empty word set on generate