small changes to the index and show view