corrected small bug which overwrote session variable