Fixes template for ID