fix session routes