fix extra show details bug and csv export issue