Fix session reference in guide setup