fix "multiple" templates