Undoing session fix