restoring a console