change maps to folds