fix bug of link to entire exp plate not showing due to misnested if statement