remove indeix from view