fix templates installer