CloseShell repair