TDFactor fix #465