bug fix to networkDevice.js