Index.md controller correction
Index.md code fixes