fix session replacement hack