devices changed from list to dict and treeview working as expected now :)