fixed the show page styles and data representation including looping through elements with multiple instances