FIx error on generate config (NETWORKPORTNAME)