Fixed a bug that when the template class didn't has the constructor, won't copy the properties from the fact.