Fixing method in index.rst