Load session bug fix