fixed Network declaration bug