avoiding the data saving in devices collection