Fix setting of value when network is ready