fixed typo to do with array index in show.html.