fixed template intsantiation link error