Fixed RESCUE_MODE code