networkstate fix