removed all template ids