fix fold issue