fixed forgotten change in template class