fixing old session reload loop