fix extra index showing and body length