Session pinning fix