fixed missing template instance