fix folds and add a fold name tag