fix erroneous session references