create_context_from_type, fix typo