Fix template install