fix session delete method