recovery bugfix