remove stupid typo
clean up and revise spec for IndexedPiece.add_index