fixing net reconnection