Fix a bug of the system for opening folds.