Fixing location of templates