fixing networking: fixed crash