template contect fix