almost fix the distributed array with distnet