Fix MKNetwork issues