modify singleton template class;