Fixing incorrect template directions