corrections in template