restore deleted context manager