Made corrections to index and show page