fixing index documentation