Fix path to template for attach to visit