fixed our session bug