small changes to the template files