fix for null network id