fixed example in documentation index