bug in session deletion fixed.