fix the memory issue of  truncate_flowSet. #50