restored 'close'