Fixing index template and updating show template