Fixed network connection bug