text_factory typo