delete function about foldmethod