Restoring to allow correct release