fix building fact by polymophic-association.