Delete show template
Refine code