undo removal of __type