session repair