use combine function to create seed for fold, fixes #2