session bug fixed